package com.kkwrite.regimen.provider.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created by Ron on 2018/10/8 11:05.
 *
 * @author Ron
 */
@Getter
@Setter
@ToString(callSuper = true)
@Entity
@Table(name = "reg_user_package")
public class RegUserPackageDO extends BaseDO {
    private static final long serialVersionUID = -4034430287149540186L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private Integer userId;
    private Integer packageId;
    private Integer remainingNumber;
    private BigDecimal packagePrice;
    private Integer packageNumber;
    private BigDecimal price;
    private Double discount;
    private BigDecimal discountPrice;

}
